<!DOCTYPE html>
<html>
<head>
	<title>FreeLoader Sample</title>	
</head>
<body>
	<script src="../build/freeloader.js"></script>
	
	<script>
		frldr.namespace("sample").
		uses(
			"foo.first",
			"bar.second"
		).
		is(function() {
			frldr.Object.subclass("Main", {
				initialize: function() {
					var obj = new bar.second.Derived();
					document.write(obj.foo());
				}
			});
			
			var main = new sample.Main();
		});
	</script>
</body>
</html>